﻿using System;
using System.Collections.Generic;
//
namespace PerceptiveMCAPI.Types
{
   public class listMemberInfoResults
   {
      public string id { get; set; }
      public string email { get; set; }
      public EnumValues.emailType email_type { get; set; }
      public Dictionary<string, object> merges { get; set; }
      public List<interestGroupings> groupings { get; set; }
      public EnumValues.listMembers_status status { get; set; }
      public string ip_opt { get; set; }
      public string ip_signup { get; set; }
      public int member_rating { get; set; }
      public string campaign_id { get; set; }
      public Dictionary<string, EnumValues.listMembers_status> lists { get; set; }
      public DateTime timestamp { get; set; }
      public DateTime info_changed { get; set; }
      public int web_id { get; set; }

      public listMemberInfoResults()
      {
         email_type = EnumValues.emailType.NotSpecified;
         merges = new Dictionary<string, object>();
         groupings = new List<interestGroupings>();
         status = EnumValues.listMembers_status.NotSpecified;
         lists = new Dictionary<string, EnumValues.listMembers_status>();
         timestamp = DateTime.MinValue;
         info_changed = DateTime.MinValue;
      }
      public override string ToString()
      {
         return string.Format( "id: {0}, email: {1}, status: {2}, timestamp: {3}",
            id, email, status, timestamp );
      }
   }
}
